package com.njworkorder.DTO;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.njworkorder.VO.PlanMeteringInfosVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class PlanAddDto {

    @Schema(description = "计划名称")
    private String planName;

    @Schema(description = "计量年份")
    private String meteringYear;

    @Schema(description = "路段id")
    private String sectionId;

    @Schema(description = "工区id")
    private String workspaceId;

    @Schema(description = "维修机构（组织id）")
    private String aoId;

    @Schema(description = "合同编号")
    private String contractNumber;

    @Schema(description = "合同开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date contractStartTime;

    @Schema(description = "合同结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date contractEndTime;

    @Schema(description = "重点工作计划文件")
    private String appendix;

//    @Schema(description = "计价类型(1基本总价、2单价计量)")
//    private String pricingType;
//
//    @Schema(description = "计划类型 (1、年度计划，2月度计划)")
//    private String planType;

    @Schema(description = "数据状态")
    private String status;

    @Schema(description = "计量清单id")
    private List<PlanMeteringInfosVo> planMeteringInfos;
}
